/*
 * VisualView.h
 *
 *  Created on: Apr 28, 2009
 *      Author: wrice
 */

#ifndef VISUALVIEW_H_
#define VISUALVIEW_H_
#include "DOMView.h"
namespace DOMView {

class VisualView {
public:
  readonly attribute DOMString       fontScheme;
  readonly attribute unsigned long   width;
  readonly attribute unsigned long   height;
  readonly attribute unsigned long   horizontalDPI;
  readonly attribute unsigned long   verticalDPI;
  VisualCharacter    createVisualCharacter();
  VisualCharacterRun createVisualCharacterRun();
  VisualFrame        createVisualFrame();
  VisualImage        createVisualImage();
  VisualFormButton   createVisualFormButton();
  VisualFormField    createVisualFormField();
  void               select(in Node boundary,
                            in unsigned long offset,
                            in boolean extend,
                            in boolean add);
  void               matchSegment(in VisualResource segment);
};

}

#endif /* VISUALVIEW_H_ */
